package com.glut.forum.bean.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Date;
import java.time.LocalDateTime;

/**
 * @author milo
 * @version 1.0
 * @since 2021/9/5 上午8:53
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer itemId;

    private String itemCode;

    /**
     * 昵称
     */
    private String nickName;

    private String sex;

    /**
     *  个性签名
     */
    private String description;

    private String email;

    private String phone;

    /**
     *  粉丝数量
     */
    private Integer followerCount;

    /**
     *  关注数量
     */
    private Integer attention_count;

    /**
     *  用户角色（0 普通用户， 1管理员）
     */
    private Integer role;

    /**
     * 头像路径
     */
    private String avatarsUrl;

    private Date createTime;

    private Date updateTime;

}
